package com.szd.service;

import com.szd.pojo.Member;

import java.util.List;

public interface IMemberService {
    /**
     * 查询会员信息
     * @param member
     * @return
     */
    Member getMemberByNicknameAndPwd(Member member);
    //会员列表
    List<Member> getAllMembers(String nickname,Integer pageNum,Integer pageSize);
    //根据id查询所有会员
    Member getMemberById(Integer id);
    //添加会员
    int addMember(Member member);
    //删除会员
    int deleteMember(Integer id);
    //修改会员
    int editMember(Member member);
    //批量删除
    int deleteAllMember(List<String> ids);
    //根据用户名查询
    Member getMemberByNickname(String nickname);
    //详情
    Member detailMember(Integer id);
}
